package com.example.springbootdemo.model;

public class ResInfo<T> {

    private int code;

    private String msg;

    private T data;

    public ResInfo(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public int getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }


    public T getData() {
        return data;
    }

}
